<template>
  <div id="Classify">
    <app-header :name='name'></app-header>
    <sideber :mycont="data.mycont"></sideber>
    <app-footer></app-footer>
  </div>
</template>

<script>
import Header from '@/components/Common/Header'
import Footer from '@/components/Common/Footer'
import sideber from '@/components/Classify/Sidebar'
export default {
  name: 'Classify',
  components: {
    'app-header': Header,
    'app-footer': Footer,
    sideber
  },
  data () {
    return {
      name: '分类',
      selected: '1',
      data: ''
    }
  },
  created () {
    this.getdata()
  },
  methods: {
    getdata () {
      this.axios.get('../../static/json/classify.json').then(item => {
        this.data = item.data.data
      })
    }
  }
}
</script>

<style scoped lang="less">
#Classify {
  #myNav {
    display: flex;
    .mint-navbar {
      display: block;
      width: 20%;
      a {
        font-size: 50px; /*px*/
        width: 100%;
      }
    }
  }
}
</style>
